package com.sooth.system.role.view;

import com.dream.template.annotation.Conditional;
import com.dream.template.condition.EqCondition;
import com.dream.template.condition.InCondition;
import lombok.Data;

import java.util.List;

@Data
public class SysRoleDeptDto {
    @Conditional(EqCondition.class)
    private Long roleId;

    @Conditional(value = InCondition.class, column = "role_id")
    private List<Long> roleIds;
}
